nasty trick

Translations
подлый трюк
He played a nasty trick on his friend.
Он сыграл подлый трюк над своим другом.